package cn.iocoder.yudao.module.project.controller.admin.electronicscalemanage.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 电子秤管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ElectronicScaleManageRespVO {

    @Schema(description = "电子秤编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "20342")
    @ExcelProperty("电子秤编号")
    private Long id;

    @Schema(description = "绑定用户id", example = "16069")
    @ExcelProperty("绑定用户id")
    private Long userId;

    @Schema(description = "电子秤名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("电子秤名称")
    private String name;

    @Schema(description = "ip", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("ip")
    private String ip;

    @Schema(description = "port", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("port")
    private String port;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你说的对")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "电子秤状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;

}